home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / pdomain.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  1.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Pdomain(2)                 Oct. 1, 1991                Pdomain(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Pdomain - get or set process execution domain
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        WORD Pdomain( WORD dom );
  12.  
  13. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  14.        _✓P_✓d_✓o_✓m_✓a_✓i_✓n gets or sets the process execution domain. This is
  15.        a number which controls the behavior  of  a  process.  The
  16.        default domain is 0, which is the TOS compatibility domain
  17.        and in which all system calls behave exactly  as  they  do
  18.        under  TOS.  Domain  1 is the MiNT domain; in this domain,
  19.        the behavior of the _✓F_✓r_✓e_✓a_✓d and  _✓F_✓w_✓r_✓i_✓t_✓e  system  calls  when
  20.        applied  to terminals are controlled by the current termi-
  21.        nal settings as established  by  the  _✓F_✓c_✓n_✓t_✓l  system  call.
  22.        Moreover,  file names returned from _✓F_✓s_✓f_✓i_✓r_✓s_✓t and _✓F_✓s_✓n_✓e_✓x_✓t may
  23.        be treated differently; MiNT domain processes are expected
  24.        to be able to deal with file names that are not standard 8
  25.        character name + 3 character extension,  all  upper  case,
  26.        DOS file names.
  27.  
  28.        If  _✓d_✓o_✓m  is greater than or equal to 0, the process domain
  29.        is set to its value. Note that only domains 0  and  1  are
  30.        currently  defined,  and  the  result of using a different
  31.        (positive) number for _✓d_✓o_✓m is unpredictable. If _✓d_✓o_✓m is neg-
  32.        ative, no change is made to the process domain.
  33.  
  34. R✓RE✓ET✓TU✓UR✓RN✓NS✓S
  35.        The  process  domain at the time of the _✓P_✓d_✓o_✓m_✓a_✓i_✓n call (i.e.
  36.        before any change).
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.